<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $navtitle;?> 男科在线医生免费咨询 南昌男科医院</title>
 <meta name="Keywords" content="<?php echo $navkeyword;?>" /> 
 <meta name="description" content="<?php echo $navdescription;?>" /> 
<?php if(DEDE_FILE == 'post'){?>
<LINK href="template/default/other.css" type=text/css rel=stylesheet>
<LINK href="template/default/css.css" type=text/css rel=stylesheet>
<LINK href="template/default/main.css" type=text/css rel=stylesheet>
<?php }?>
<link href="template/default/indexsun.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">var charset = 'utf-8';</script> 
<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(m,n,p){
 var tli=document.getElementById("menu"+m).getElementsByTagName("li");
 var mli=document.getElementById("h");
 
 for(i=0;i<tli.length;i++){
	tli[i].className=i==n?"hover":"1";
	mli.value=p;
 }
}
/*第三种形式 利用一个背景层定位*/
var m3={0:"",1:"评论内容",2:"技术内容",3:"点评内容"}
function nowtab(m,n){
 if(n!=0&&m3[0]=="")m3[0]=document.getElementById("main2").innerHTML;
 document.getElementById("tip"+m).style.left=n*100+'px';
 document.getElementById("main2").innerHTML=m3[n];
}
//-->
</script>
<?php  if(DEDE_FILE == 'post'){?>
<script type="text/javascript" src="include/js/common.js"></script>
<script type="text/javascript">
function checkform(theform,own) {
	if(theform.ClassLevel1.selectedIndex<0) {
		alert("请选择问题分类");
		return false;
	} else if(theform.title.value == "") {
		alert("问题不能为空");
		theform.title.focus();
		return false;
	} else if(mb_strlen(theform.title.value) > 80) {
		alert("问题太长，请修改，并使用问题补充");
		theform.title.focus();
		return false;
	} else if(theform.reward.value > own) {
		alert("悬赏的积分不能大于你拥有的积分，请重新设置悬赏积分");
		return false;
	}
}
</script>
<?php }?>
</head>
<body>
<div class="topline">
<div class="topall">
  {dede:include file='user.htm' /}
  <div class="topline02"><a href="./">问吧首页</a> ┊ 手机上问题 ┊ 帮助中心</div>  
  </div> 
  </div> 
  
  <form action="search.php?action=search" method="get">
<div class="topall"><div class="toplogo"><a href="./"><img src="template/default/images/index_09.gif" width="202" height="78" alt="就医问吧"></a></div><div class="logoright01">
<div class="searchall">
<ul class="menu0" id="menu0">
  <li onclick="setTab(0,0,0)" class="<?php if($h == 0) echo'hover';?>">问吧</li>
  <!--<li onclick="setTab(0,1)">医生</li>-->
  <li onclick="setTab(0,1,2)">技术</li>
 <!-- <li onclick="setTab(0,3)">医院</li>-->
 </ul>
 
 <div class="main" id="main0">
  <ul class="block"><li><input name="q" type="text" style= "border:0px; margin-left:4px; margin-top:7px; height:23px;  width:464px; background-color:#FFF"  value="<?php echo $q;?>"/></li></ul>
 <INPUT TYPE="hidden" NAME="h" id="h" value='<?php echo intval($h);?>'>
 </div>
  </div>
  <div class="tijiao">
  <table width="289" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="85"><INPUT TYPE="image" src="template/default/images/index_19.gif"></td>
    <td width="17">&nbsp;</td>
    <td width="85"><a href="javascript:;" onclick="location.href='post.php'"><img src="template/default/images/index_21.gif" width="85" height="25"/></a></td>
    <td width="17">&nbsp;</td>
    <td width="85"><a href="javascript:;" onclick="location.href='browser.php?m=2'"><img src="template/default/images/index_23.gif" width="85" height="25" /></a></td>
  </tr>
</table>
</div>
</div></form>

</div>
<div class="topall">
<div class="menu_nav">
<ul class="nav_content">
<li <?php if(DEDE_FILE == null || DEDE_FILE =='search' || DEDE_FILE =='browser' || DEDE_FILE =='list'){?>class="current"<?php }?>><a href="./" title="问吧首页"><span>问吧首页</span></a></li>
<li  <?php if(DEDE_FILE == 'digest_doctor'){?>class="current"<?php }?>><a href="digest_doctor.php" title="驻站医生"><span>驻站医生</span></a></li>
<li><a href="./zhanneifuwu/" title="站内服务"><span>站内服务</span></a></li>
<li><a href="./yiliaofuwu/" title="医疗优惠"><span>医疗优惠</span></a></li>
</ul>
<div class="jiejue">已解决问题：{dede:count type='solvednum'/}     待解决问题：{dede:count type='solvingnum'/}</div>
</div>
</div>
<script>
var h = document.getElementById("h");

var qtli=document.getElementById("menu0").getElementsByTagName("li");
qtli[h.value-1].className = 'hover';
</script>
<!--右侧广告-->
	
<!--右侧广告end-->
